package com.qdc.datacenters.service.impl;

import com.qdc.datacenters.domain.entity.SensitiveWordsResult;
import com.qdc.datacenters.domain.query.sensitive.SensitiveRecordQuery;
import com.qdc.datacenters.domain.query.statistics.StatisticsQuery;
import com.qdc.datacenters.domain.vo.sensitive.SensitiveGroupRecordVo;
import com.qdc.datacenters.domain.vo.sensitive.SensitiveSingleRecordVo;
import com.qdc.datacenters.domain.vo.statistics.SensitiveCustomerRankVo;
import com.qdc.datacenters.domain.vo.statistics.SensitiveStatisticsListVo;
import com.qdc.datacenters.domain.vo.statistics.SensitiveUserRankVo;
import com.qdc.datacenters.mapper.SensitiveWordsResultMapper;
import com.qdc.datacenters.service.ISensitiveWordsResultService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 敏感词触发结果(SensitiveWordsResult)表服务实现类
 *
 * @author danmo
 * @since 2024-03-11 16:13:58
 */
@Service
public class SensitiveWordsResultServiceImpl extends BaseServiceImpl<SensitiveWordsResultMapper, SensitiveWordsResult> implements ISensitiveWordsResultService {

    @Override
    public List<SensitiveSingleRecordVo> singleRecordList(SensitiveRecordQuery query) {
        return this.baseMapper.singleRecordList(query);
    }

    @Override
    public List<SensitiveGroupRecordVo> groupRecordList(SensitiveRecordQuery query) {
        return this.baseMapper.groupRecordList(query);
    }

    @Override
    public List<SensitiveUserRankVo> sensitiveSingleUserRank(StatisticsQuery query) {
        return this.baseMapper.sensitiveSingleUserRank(query);
    }

    @Override
    public List<SensitiveCustomerRankVo> sensitiveSingleCustomerRank(StatisticsQuery query) {
        return this.baseMapper.sensitiveSingleCustomerRank(query);
    }

    @Override
    public List<SensitiveUserRankVo> sensitiveGroupUserRank(StatisticsQuery query) {
        return this.baseMapper.sensitiveGroupUserRank(query);
    }

    @Override
    public List<SensitiveCustomerRankVo> sensitiveGroupCustomerRank(StatisticsQuery query) {
        return this.baseMapper.sensitiveGroupCustomerRank(query);
    }

    @Override
    public List<SensitiveStatisticsListVo> sensitiveStatistic(StatisticsQuery query) {
        return this.baseMapper.sensitiveStatistic(query);
    }
}

